package io.hxci.modules.edu.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "edu_student")
public class EduStudent {
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 学号
     */
    @TableField(value = "sno")
    private String sno;

    /**
     * 姓名
     */
    @TableField(value = "sname")
    private String sname;

    /**
     * 新班级
     */
    @TableField(value = "newbj")
    private Long newbj;

    /**
     * 旧班级
     */
    @TableField(value = "oldbj")
    private Long oldbj;


    @TableField(value = "phone")
    private String phone;


    @TableField(value = "sex")
    private String sex;

    @TableField(value = "score")
    private Double score;


    @TableField(exist = false)
    private String guname;

    @TableField(exist = false)
    private String clazz;

    @TableField(exist = false)
    private String headname;
    @TableField(exist = false)
    private Long  gid;
}